home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / progjrn / pj_7_1.arc / SPMTPL.H < prev    next >
Text File  |  1988-07-22  |  1KB  |  32 lines

  1. /*
  2.  * Header file for the PM small model template
  3.  *
  4.  * Written by William S. Hall, Olivetti ATC
  5.  *
  6.  */
  7.  
  8. /* This trick makes variables extern in modules EXTERN is not defined */
  9. #if !defined(EXTERN)
  10. #define EXTERN extern
  11. #endif
  12.  
  13. /* resource string constants */
  14. #define IDS_APPNAME    100
  15. #define IDS_ICON    101
  16. #define IDS_TITLE    102
  17.  
  18. /* global variables */
  19. EXTERN HAB hAB;                /* anchor block handle */
  20. EXTERN HMQ hmqMsgQ;            /* handle to message queue */
  21. EXTERN HWND hwndFrame;            /* handle to window frame */
  22. EXTERN HWND hwndMain;            /* handle to main client window */
  23. EXTERN ULONG xIconsize, yIconsize;    /* size of icon */
  24. EXTERN LONG CharWidth, CharHeight;    /* height of default font */
  25. EXTERN char szAppName[10];        /* application name string */
  26. EXTERN char szIcon[5];            /* icon string */
  27.  
  28. /* function declarations common to both code modules */
  29. BOOL FAR InitProgram(int argc, char *argv[]);
  30. MRESULT FAR PASCAL MainWndProc( HWND, USHORT, MPARAM, MPARAM );
  31. void FAR WndCreate(HWND hWnd);
  32.